﻿namespace PillBox.Client.Views
{
    using System;
    using System.Windows.Controls;
    using PillBox.Client.Framework;

    public partial class ShellView : UserControl
    {
        private INavigation _navigation;

        public ShellView()
        {
            InitializeComponent();

            this._navigation = new FrameNavigation(this.ActiveScreen);

            IoC.RegisterInstance<INavigation>(this.GetNavigation());
        }

        private INavigation GetNavigation()
        {
            return this._navigation;
        }
    }
}
